package com.base.service.impl;

import com.base.mapper.voipmapper.ShopClassifyMapper;
import com.base.po.voip.ShopClassify;
import com.base.service.ShopClassifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("shopClassifyService")
public class ShopClassifyServiceImpl implements ShopClassifyService {

    @Autowired
    ShopClassifyMapper shopClassifyMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return shopClassifyMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ShopClassify record) {
        return shopClassifyMapper.insert(record);
    }

    @Override
    public int insertSelective(ShopClassify record) {
        return shopClassifyMapper.insertSelective(record);
    }

    @Override
    public ShopClassify selectByPrimaryKey(String id) {
        return shopClassifyMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ShopClassify record) {
        return shopClassifyMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ShopClassify record) {
        return shopClassifyMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<ShopClassify> selectByAll(String agentid) {
        return shopClassifyMapper.selectByAll(agentid);
    }
}
